package com.graduation_design.service;

import com.graduation_design.common.dto.SysMenuDto;
import com.graduation_design.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 从南
* @description 针对表【sys_menu】的数据库操作Service
* @createDate 2024-02-16 18:15:59
*/
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> listMenusByUserId(Long userId);

    List<SysMenuDto> getCurrentUserNav();

    String getUserPerms(Long userId);

    List<SysMenu> tree();

    void delete(Long id);
}
